# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class PaperItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    """定义爬取的数据格式"""
    # 数据更新时间
    update_time = scrapy.Field()
    # 数据来源
    data_source = scrapy.Field()
    # 今日温度 - 实况
    temp = scrapy.Field()
    # 相对湿度 - 实况
    humi = scrapy.Field()
    # 风速 - 实况
    wind = scrapy.Field()
    # 风向
    wind_dir = scrapy.Field()
    # 更新日期
    which_day = scrapy.Field()
    # 地区
    region = scrapy.Field()
    # 空气质量
    air = scrapy.Field()
    # 气压
    pressure = scrapy.Field()
    # 地区名称
    city_name = scrapy.Field()

    """
    七日气温
    """
    # 天气
    weather = scrapy.Field()
    # 最高气温
    max_temperature = scrapy.Field()
    # 最低气温
    min_temperature = scrapy.Field()
    # 开始风向
    dir_start = scrapy.Field()
    # 结束风向
    dir_end = scrapy.Field()
    # 最高风速
    max_wind = scrapy.Field()

    """
        状态值 1、今日天气 2、七日天气
    """
    status = scrapy.Field()



    pass
